<template>
    <TabBar>
        <TabBarItem path="/home" activeColor="palevioletred">
            <span slot="item-icon" class="icon-home"></span>
            <span slot="item-text">首页</span>
        </TabBarItem>
        <TabBarItem path="/category" activeColor="palevioletred">
            <span slot="item-icon" class="icon-th-large"></span>
            <span slot="item-text">分类</span>
        </TabBarItem>
        <TabBarItem path="/cart" activeColor="palevioletred">
            <span slot="item-icon" class="icon-cart-plus"></span>
            <span slot="item-text">购物车</span>
        </TabBarItem>
        <TabBarItem path="/profile" activeColor="palevioletred">
            <span slot="item-icon" class="icon-user"></span>
            <span slot="item-text">用户</span>
        </TabBarItem>
    </TabBar>
</template>

<script>
import TabBar from '../../common/tabbar/TabBar'
import TabBarItem from '../../common/tabbar/TabBarItem'

export default {
    name: 'MainTabBar',
    components: {
        TabBar,
        TabBarItem
    }
}
</script>

<style scoped>
</style>